<?php
$form = array(
		'uid'		=>'',
		'code'		=>'{"type":"text","size":10}',
		'username'	=>'{"type":"text","size":20}',
		'mail'		=>'{"type":"text","size":20}',
		'group'		=>'{"type":"redio"}',
		'admin'		=>'{"type":"redio"}',
		'password'	=>'{"type":"password","size":20}',
		'passwordx'	=>'{"type":"none"}',				//none为不出现
		'regdate'	=>'{"type":"hidden"}',
		'lastdate'	=>'{"type":"hidden"}',
		'regip'		=>'{"type":"hidden"}'
	);
$enum->group = Afunc_group()->enum();
$enum->admin = array("1"=>"是","0"=>"否");
//检测
$check->realname=array("type"=>"require");
$check->qq=array("type"=>"number","title"=>"QQ号码为5-11位数字");
//正则
$regexp->mail	= "Acan.regexp.mail";
$regexp->qq		= "/([0-9]{5,11}|0)/";
?>